home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 24
/
Amiga Format AFCD24 (Feb 1998, Issue 108).iso
/
-seriously_amiga-
/
shareware
/
programming
/
other
/
apic
/
scripts
/
picasm.ced
Wrap
Text File
|
1998-01-05
|
857b
|
43 lines
/* automtic assembling of Pic source code with CygnusEd
*/
PARSE SOURCE com res called resolved ext host . /* Get host */
IF host="REXX" THEN /* From command line */
ADDRESS "rexx_ced" /* Talk to default ced */
OPTIONS RESULTS /* Enable results from commands */
ARG windowType . /* How to show? */
ADDRESS COMMAND "relabel ram: Ram_Disk"
'DM "assembling source..."'
'Status NUMCHANGES' /* Get number of changes made to file */
IF RESULT~=0 THEN /* Changes were made */
'Save' /* Save current file */
'Status FILENAME' /* Fet file name (with path) */
FileName=RESULT
Comm="c:PICAsm" FileName /* Set up command string */
/* Change status bar again */
ADDRESS COMMAND Comm /* do the command */
'CEdToFront' /* Jump back to CEd's screen */
'DM' /* Restore status line */
EXIT